home *** CD-ROM | disk | FTP | other *** search
- package icontrols.marquee;
-
- import com.ms.wd.ui.Control;
- import com.ms.wd.ui.Graphics;
- import com.ms.wd.ui.Rectangle;
-
- public class EmptyElement implements IMarqueeElement {
- Rectangle m_rect = new Rectangle();
- int m_wrapCount = 0;
-
- public void create(Control ctl, int width, int height) {
- this.m_rect.width = width;
- this.m_rect.height = height;
- }
-
- public Object getTag() {
- return null;
- }
-
- public Object getTag(int x, int y) {
- return null;
- }
-
- public void paintIn(Rectangle rec, Graphics g) {
- }
-
- public void scroll(int x, int y) {
- Rectangle var10000 = this.m_rect;
- var10000.x += x;
- var10000 = this.m_rect;
- var10000.y += y;
- }
-
- public int getWrapCount() {
- return this.m_wrapCount;
- }
-
- public void setWrapCount(int count) {
- this.m_wrapCount = count;
- }
-
- public Rectangle getBounds() {
- return this.m_rect;
- }
-
- public void setLocation(int x, int y) {
- this.m_rect.x = x;
- this.m_rect.y = y;
- }
- }
-